import validator from '../validator';
export class SiSTKWEventsManagementCompetitionRequestInput_Rules {
  constructor() {
    this.startTime = [validator.required('', 'onChange')];
    this.name = [validator.required('')];
    this.competitionCertificationLevelId = [validator.required('', 'onChange')];
    this.address = [validator.required('')];
    this.responsiblePersonName = [validator.required('')];
    this.responsiblePersonPhone = [
      {
        ...validator.required(''),
        validator: validator.checkPhone,
        trigger: 'onBlur'
      }
    ];
  }
}
